package com.acwer.drools.dao;

import org.apache.ibatis.annotations.Select;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Repository;

import com.acwer.drools.domain.BenchMark;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;


//@CacheConfig(cacheNames="BenchMarkDao")
@Repository
//@Cacheable
public interface BenchMarkDao extends BaseMapper<BenchMark>{

	@Select({ "<script>", 
		"select * from drg_benchmark where  drg=#{drg}" ,"</script>"
		})
	public BenchMark getBenchMark(String  drg);
}
